package com.chen.demo2;

public class TestDemo {
    public static void main(String[] args) {
        // 测试工具类中的两个方法是否正确
        int[] arr = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10};
        String str = ArrUtil.printArray(arr);
        System.out.println(str);

        double[] arr2 = {1.1, 2.2, 3.3, 4.4, 5.5, 6.6};
        double average = ArrUtil.getAverage(arr2);
        System.out.println(average);
    }


}
